package com.koron.standard.jobStock.overhaul.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.koron.standard.jobStock.overhaul.bean.po.Overhaul;
import com.koron.standard.jobStock.overhaul.bean.vo.OverhaulVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 大修标准信息(Overhaul)表数据库访问层
 *
 * @author jzp
 * @since 2021-09-16
 */
public interface OverhaulMapper extends BaseMapper<Overhaul> {
    OverhaulVO getVoById(String id);

    Page<OverhaulVO> selectPageVo(@Param("page") IPage<OverhaulVO> page, @Param(Constants.WRAPPER) Wrapper<OverhaulVO> queryWrapper);

    List<OverhaulVO> selectPageVo(@Param(Constants.WRAPPER) Wrapper<OverhaulVO> queryWrapper);

}
